package com.wealth.merchant.enums;
/**
 * 限天超枚举
 * @author zjw
 */
public enum XTCEnum {
	
	X(1,"限时抢购"),T(2,"天天特价"),C(3,"超低特价"),D(4,"线下商品");
	
	private int value;
	private String comment;
	
	private XTCEnum(int value,String comment){
		this.value = value;
		this.comment =comment;
	}

	public int getValue() {
		return value;
	}

	public String getComment(){
		return comment;
	}
	public static XTCEnum get(int value){
		for (XTCEnum o:XTCEnum.values()) {
			if(o.value ==value){
				return o;
			}
		}
		return null;
	}
}
